package ba02_AfterReturning;


/**
 * @author HLF
 * @version V1.0
 * @package service.impl
 * @date 2021/10/17 10:03
 */

public class SomeServiceImpl implements SomeService {
    @Override
    public void doSome(String name, Integer age) {
        System.out.println("执行了SomeServiceImpl的doSome方法！");
    }

    @Override
    public String doOther(String name, Integer age) {
        System.out.println("执行了SomeServiceImpl的doOther方法！");
        return "abcd";
    }

    @Override
    public Student doOther2(String name, Integer age) {
        Student student = new Student();
        student.setName("lisi");
        student.setAge(20);
        return student;
    }
}
